package com.shop.cereshop.business.dao.product;

import com.shop.cereshop.commons.domain.product.CereProductImage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CereProductImageDAO {
    int insert(CereProductImage record);

    int insertSelective(CereProductImage record);

    void insertBatch(@Param("list") List<CereProductImage> list);

    void deleteByProductId(@Param("productId") Long productId);

    List<String> findByProductId(@Param("productId") Long productId);
}